<%@ page import="your_car_status.Inventory" %>



<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'engineOilLevel', 'error')} required">
	<label for="engineOilLevel">
		<g:message code="inventory.engineOilLevel.label" default="Engine Oil Level" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="engineOilLevel" from="${inventoryInstance.constraints.engineOilLevel.inList}" required="" value="${inventoryInstance?.engineOilLevel}" valueMessagePrefix="inventory.engineOilLevel"/>
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'fuelLevel', 'error')} required">
	<label for="fuelLevel">
		<g:message code="inventory.fuelLevel.label" default="Fuel Level" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="fuelLevel" required="" value="${inventoryInstance?.fuelLevel}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'airC', 'error')} ">
	<label for="airC">
		<g:message code="inventory.airC.label" default="Air C" />
		
	</label>
	<g:checkBox name="airC" value="${inventoryInstance?.airC}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'antena', 'error')} ">
	<label for="antena">
		<g:message code="inventory.antena.label" default="Antena" />
		
	</label>
	<g:checkBox name="antena" value="${inventoryInstance?.antena}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'apron', 'error')} ">
	<label for="apron">
		<g:message code="inventory.apron.label" default="Apron" />
		
	</label>
	<g:checkBox name="apron" value="${inventoryInstance?.apron}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'ashtray', 'error')} ">
	<label for="ashtray">
		<g:message code="inventory.ashtray.label" default="Ashtray" />
		
	</label>
	<g:checkBox name="ashtray" value="${inventoryInstance?.ashtray}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'bBumper', 'error')} ">
	<label for="bBumper">
		<g:message code="inventory.bBumper.label" default="BB umper" />
		
	</label>
	<g:checkBox name="bBumper" value="${inventoryInstance?.bBumper}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'boardButton', 'error')} ">
	<label for="boardButton">
		<g:message code="inventory.boardButton.label" default="Board Button" />
		
	</label>
	<g:checkBox name="boardButton" value="${inventoryInstance?.boardButton}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'boardIndicators', 'error')} ">
	<label for="boardIndicators">
		<g:message code="inventory.boardIndicators.label" default="Board Indicators" />
		
	</label>
	<g:checkBox name="boardIndicators" value="${inventoryInstance?.boardIndicators}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'bodyWork', 'error')} ">
	<label for="bodyWork">
		<g:message code="inventory.bodyWork.label" default="Body Work" />
		
	</label>
	<g:checkBox name="bodyWork" value="${inventoryInstance?.bodyWork}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'carSymbol', 'error')} ">
	<label for="carSymbol">
		<g:message code="inventory.carSymbol.label" default="Car Symbol" />
		
	</label>
	<g:checkBox name="carSymbol" value="${inventoryInstance?.carSymbol}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'carpets', 'error')} ">
	<label for="carpets">
		<g:message code="inventory.carpets.label" default="Carpets" />
		
	</label>
	<g:checkBox name="carpets" value="${inventoryInstance?.carpets}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'date', 'error')} required">
	<label for="date">
		<g:message code="inventory.date.label" default="Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="date" precision="day"  value="${inventoryInstance?.date}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'directionLever', 'error')} ">
	<label for="directionLever">
		<g:message code="inventory.directionLever.label" default="Direction Lever" />
		
	</label>
	<g:checkBox name="directionLever" value="${inventoryInstance?.directionLever}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'doorHandle', 'error')} ">
	<label for="doorHandle">
		<g:message code="inventory.doorHandle.label" default="Door Handle" />
		
	</label>
	<g:checkBox name="doorHandle" value="${inventoryInstance?.doorHandle}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'doorLock', 'error')} ">
	<label for="doorLock">
		<g:message code="inventory.doorLock.label" default="Door Lock" />
		
	</label>
	<g:checkBox name="doorLock" value="${inventoryInstance?.doorLock}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'elbowRest', 'error')} ">
	<label for="elbowRest">
		<g:message code="inventory.elbowRest.label" default="Elbow Rest" />
		
	</label>
	<g:checkBox name="elbowRest" value="${inventoryInstance?.elbowRest}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'extinguisher', 'error')} ">
	<label for="extinguisher">
		<g:message code="inventory.extinguisher.label" default="Extinguisher" />
		
	</label>
	<g:checkBox name="extinguisher" value="${inventoryInstance?.extinguisher}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'extraTire', 'error')} ">
	<label for="extraTire">
		<g:message code="inventory.extraTire.label" default="Extra Tire" />
		
	</label>
	<g:checkBox name="extraTire" value="${inventoryInstance?.extraTire}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'fBumper', 'error')} ">
	<label for="fBumper">
		<g:message code="inventory.fBumper.label" default="FB umper" />
		
	</label>
	<g:checkBox name="fBumper" value="${inventoryInstance?.fBumper}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'fuelCap', 'error')} ">
	<label for="fuelCap">
		<g:message code="inventory.fuelCap.label" default="Fuel Cap" />
		
	</label>
	<g:checkBox name="fuelCap" value="${inventoryInstance?.fuelCap}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'gearShift', 'error')} ">
	<label for="gearShift">
		<g:message code="inventory.gearShift.label" default="Gear Shift" />
		
	</label>
	<g:checkBox name="gearShift" value="${inventoryInstance?.gearShift}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'gloveBox', 'error')} ">
	<label for="gloveBox">
		<g:message code="inventory.gloveBox.label" default="Glove Box" />
		
	</label>
	<g:checkBox name="gloveBox" value="${inventoryInstance?.gloveBox}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'grill', 'error')} ">
	<label for="grill">
		<g:message code="inventory.grill.label" default="Grill" />
		
	</label>
	<g:checkBox name="grill" value="${inventoryInstance?.grill}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'handle', 'error')} ">
	<label for="handle">
		<g:message code="inventory.handle.label" default="Handle" />
		
	</label>
	<g:checkBox name="handle" value="${inventoryInstance?.handle}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'heating', 'error')} ">
	<label for="heating">
		<g:message code="inventory.heating.label" default="Heating" />
		
	</label>
	<g:checkBox name="heating" value="${inventoryInstance?.heating}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'hoodLock', 'error')} ">
	<label for="hoodLock">
		<g:message code="inventory.hoodLock.label" default="Hood Lock" />
		
	</label>
	<g:checkBox name="hoodLock" value="${inventoryInstance?.hoodLock}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'horn', 'error')} ">
	<label for="horn">
		<g:message code="inventory.horn.label" default="Horn" />
		
	</label>
	<g:checkBox name="horn" value="${inventoryInstance?.horn}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'innerDoorCovers', 'error')} ">
	<label for="innerDoorCovers">
		<g:message code="inventory.innerDoorCovers.label" default="Inner Door Covers" />
		
	</label>
	<g:checkBox name="innerDoorCovers" value="${inventoryInstance?.innerDoorCovers}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'jack', 'error')} ">
	<label for="jack">
		<g:message code="inventory.jack.label" default="Jack" />
		
	</label>
	<g:checkBox name="jack" value="${inventoryInstance?.jack}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'lLateralMirror', 'error')} ">
	<label for="lLateralMirror">
		<g:message code="inventory.lLateralMirror.label" default="LL ateral Mirror" />
		
	</label>
	<g:checkBox name="lLateralMirror" value="${inventoryInstance?.lLateralMirror}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'licensePlate', 'error')} ">
	<label for="licensePlate">
		<g:message code="inventory.licensePlate.label" default="License Plate" />
		
	</label>
	<g:checkBox name="licensePlate" value="${inventoryInstance?.licensePlate}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'lighter', 'error')} ">
	<label for="lighter">
		<g:message code="inventory.lighter.label" default="Lighter" />
		
	</label>
	<g:checkBox name="lighter" value="${inventoryInstance?.lighter}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'lights', 'error')} ">
	<label for="lights">
		<g:message code="inventory.lights.label" default="Lights" />
		
	</label>
	<g:checkBox name="lights" value="${inventoryInstance?.lights}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'lugWrench', 'error')} ">
	<label for="lugWrench">
		<g:message code="inventory.lugWrench.label" default="Lug Wrench" />
		
	</label>
	<g:checkBox name="lugWrench" value="${inventoryInstance?.lugWrench}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'mechanicalTechnician', 'error')} required">
	<label for="mechanicalTechnician">
		<g:message code="inventory.mechanicalTechnician.label" default="Mechanical Technician" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="mechanicalTechnician" name="mechanicalTechnician.id" from="${your_car_status.MechanicalTechnician.list()}" optionKey="id" optionValue="name" required="" value="${inventoryInstance?.mechanicalTechnician?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'observations', 'error')} ">
	<label for="observations">
		<g:message code="inventory.observations.label" default="Observations" />
		
	</label>
	<g:textField name="observations" value="${inventoryInstance?.observations}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'oilCover', 'error')} ">
	<label for="oilCover">
		<g:message code="inventory.oilCover.label" default="Oil Cover" />
		
	</label>
	<g:checkBox name="oilCover" value="${inventoryInstance?.oilCover}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'ownerManual', 'error')} ">
	<label for="ownerManual">
		<g:message code="inventory.ownerManual.label" default="Owner Manual" />
		
	</label>
	<g:checkBox name="ownerManual" value="${inventoryInstance?.ownerManual}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'rLateralMirror', 'error')} ">
	<label for="rLateralMirror">
		<g:message code="inventory.rLateralMirror.label" default="RL ateral Mirror" />
		
	</label>
	<g:checkBox name="rLateralMirror" value="${inventoryInstance?.rLateralMirror}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'radio', 'error')} ">
	<label for="radio">
		<g:message code="inventory.radio.label" default="Radio" />
		
	</label>
	<g:checkBox name="radio" value="${inventoryInstance?.radio}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'rearLight', 'error')} ">
	<label for="rearLight">
		<g:message code="inventory.rearLight.label" default="Rear Light" />
		
	</label>
	<g:checkBox name="rearLight" value="${inventoryInstance?.rearLight}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'rearMirror', 'error')} ">
	<label for="rearMirror">
		<g:message code="inventory.rearMirror.label" default="Rear Mirror" />
		
	</label>
	<g:checkBox name="rearMirror" value="${inventoryInstance?.rearMirror}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'sits', 'error')} ">
	<label for="sits">
		<g:message code="inventory.sits.label" default="Sits" />
		
	</label>
	<g:checkBox name="sits" value="${inventoryInstance?.sits}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'sitsBelts', 'error')} ">
	<label for="sitsBelts">
		<g:message code="inventory.sitsBelts.label" default="Sits Belts" />
		
	</label>
	<g:checkBox name="sitsBelts" value="${inventoryInstance?.sitsBelts}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'sunshade', 'error')} ">
	<label for="sunshade">
		<g:message code="inventory.sunshade.label" default="Sunshade" />
		
	</label>
	<g:checkBox name="sunshade" value="${inventoryInstance?.sunshade}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'tools', 'error')} ">
	<label for="tools">
		<g:message code="inventory.tools.label" default="Tools" />
		
	</label>
	<g:checkBox name="tools" value="${inventoryInstance?.tools}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'trunkDoor', 'error')} ">
	<label for="trunkDoor">
		<g:message code="inventory.trunkDoor.label" default="Trunk Door" />
		
	</label>
	<g:checkBox name="trunkDoor" value="${inventoryInstance?.trunkDoor}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'trunkLock', 'error')} ">
	<label for="trunkLock">
		<g:message code="inventory.trunkLock.label" default="Trunk Lock" />
		
	</label>
	<g:checkBox name="trunkLock" value="${inventoryInstance?.trunkLock}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'vehicle', 'error')} required">
	<label for="vehicle">
		<g:message code="Lecense Plate Vehicle" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="vehicle" name="vehicle.id" from="${your_car_status.Vehicle.list()}" optionKey="id" optionValue="licensePlate" required="" value="${inventoryInstance?.vehicle?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'watch', 'error')} ">
	<label for="watch">
		<g:message code="inventory.watch.label" default="Watch" />
		
	</label>
	<g:checkBox name="watch" value="${inventoryInstance?.watch}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'wheelCover', 'error')} ">
	<label for="wheelCover">
		<g:message code="inventory.wheelCover.label" default="Wheel Cover" />
		
	</label>
	<g:checkBox name="wheelCover" value="${inventoryInstance?.wheelCover}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'windows', 'error')} ">
	<label for="windows">
		<g:message code="inventory.windows.label" default="Windows" />
		
	</label>
	<g:checkBox name="windows" value="${inventoryInstance?.windows}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'windshield', 'error')} ">
	<label for="windshield">
		<g:message code="inventory.windshield.label" default="Windshield" />
		
	</label>
	<g:checkBox name="windshield" value="${inventoryInstance?.windshield}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'wiper', 'error')} ">
	<label for="wiper">
		<g:message code="inventory.wiper.label" default="Wiper" />
		
	</label>
	<g:checkBox name="wiper" value="${inventoryInstance?.wiper}" />
</div>

<div class="fieldcontain ${hasErrors(bean: inventoryInstance, field: 'wiperMotor', 'error')} ">
	<label for="wiperMotor">
		<g:message code="inventory.wiperMotor.label" default="Wiper Motor" />
		
	</label>
	<g:checkBox name="wiperMotor" value="${inventoryInstance?.wiperMotor}" />
</div>

